<template>
  <div>
      <!-- <ul class="home-list">
        <li v-for="(item,key) in data" :key="key" @click="mailClick(item.path,key)"
        :class="id==key?'active':''"
        >
          {{item.title}}
        </li>
      </ul> -->
      
  </div>
</template>

<script>
import {createHead} from '../../router/router.config'
export default {
    data(){
        return {
            data:createHead(),
            id:0
        }
    },
    methods: {
        mailClick(path,key) {
            console.log(path)
            console.log(this.$router);
            // this.$router.push('/');
            // this.$router.push(path);
            
        }
    }
}
</script>

<style>

</style>